import mitt from 'mitt';
export type ValidateFunc = () => boolean
export type ValidateClear = () => void
type Event = {
  'form-item-created': ValidateFunc,
  'clear-inputs': ValidateClear
}
export const emitter = mitt<Event>()